Repository navigation
docs(agents): record that the packaged asar is not bit-reproducible - #28
Merged
Merged
Conversation
The 0.78.1 detail wave was rebased onto the merged manage wave and rebuilt. The rebuilt asar has a different sha256 from the build the independent verifier checked, even though the two trees differ only in the port document and a build-script comment. The cause is that the packaged asar is not bit-reproducible. node-gyp writes the absolute build path and a random temp directory into the tree-sitter native objects, and the renderer bundle copies embed the random upstream extraction directory. So equality has to be shown file by file.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Why
The 0.78.1 detail wave was rebased onto the merged manage wave and rebuilt. The rebuilt asar has a different sha256 from the build the independent verifier checked, even though the two trees differ only in the port document and a build-script comment.
What changed
One row in the AGENTS.md trap table. The packaged
app.asaris not bit-reproducible, so two builds of one tree in two worktrees produce different sha256 values. That makes a sha256 comparison useless as a proof that two builds are the same product, and it is easy to misread the mismatch as "the change did not take effect" or "the artifact is contaminated".The row records the two per-build byte sources and the file-by-file comparison that does establish equality.
Verification
view-B5Ug8wEm.jsand the patched stylesheetindex-lCyB53CO.cssare byte-for-byte identical.Scope
Documentation only. No source, test or build change.